package ca.uguu.unknown_space.worldobjects.background;

import java.util.AbstractMap;

public class WeaponDef {
	public final String name;
	public final String type;
	
	public WeaponDef(String name, String type){
		//Type should be determined by opening json-spec
		this.type = type;
		this.name = name;
	}
	//Or maybe not; this is supposed to track details... but maybe the type is sufficient in this case
	public WeaponDef(AbstractMap<String, Object> definition){
		this.type = (String)definition.get("type");
		this.name = (String)definition.get("name");
	}
}
